package com.base.dao.pms;


import com.base.vo.pms.PmsSqlQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PmsSqlQueryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(PmsSqlQuery record);

    int insertSelective(PmsSqlQuery record);

    PmsSqlQuery selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(PmsSqlQuery record);

    int updateByPrimaryKeyWithBLOBs(PmsSqlQuery record);

    int updateByPrimaryKey(PmsSqlQuery record);

    PmsSqlQuery selectByCode(String code);

    List<PmsSqlQuery> selectByKeyward(@Param("keyWords") String keyWords);
}